package com.quanyan.club.service;

import com.quanyan.api.APIResponse;
import com.quanyan.club.entity.vo.req.ReqClubAnnouncement;
import com.quanyan.club.entity.vo.req.ReqClubAnnouncementPage;
import com.quanyan.common.Plugin.PageObj;

/**
 * Created by zhang on 16/5/30.
 */
public interface ClubAnnouncementService {
    /**
     * 获取俱乐部公告列表
     * @param reqClubAnnouncementPage
     * @return
     */
    PageObj selectClubAnnouncementList(ReqClubAnnouncementPage reqClubAnnouncementPage,int uid);

    /**
     * 添加俱乐部公告信息
     * @param reqClubAnnouncement
     * @return
     */
    int addClubAnnouncement(ReqClubAnnouncement reqClubAnnouncement,int uid);

    /**
     * 删除俱乐部公告信息
     * @param announcementId
     * @return
     */
    int deleteClubAnnouncement(int announcementId,int uid);
}
